aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/pages/[hash].js
diff options
context:
space:
mode:
authorjackyzha0 <[email protected]>2021-04-11 11:40:44 -0700
committerjackyzha0 <[email protected]>2021-04-11 11:40:44 -0700
commit77c061bc0b8aecce7311ce820b3401c95797a589 (patch)
tree6ec62987330f74b4dfca95dfaaa8cd5c723d1b58 /frontend/src/pages/[hash].js
parentsafely remove style.css (diff)
downloadctrl-v-77c061bc0b8aecce7311ce820b3401c95797a589.tar.xz
ctrl-v-77c061bc0b8aecce7311ce820b3401c95797a589.zip
working raw paste fetch
Diffstat (limited to 'frontend/src/pages/[hash].js')
-rw-r--r--frontend/src/pages/[hash].js3
1 files changed, 3 insertions, 0 deletions
diff --git a/frontend/src/pages/[hash].js b/frontend/src/pages/[hash].js
index 27f808b..5a04e31 100644
--- a/frontend/src/pages/[hash].js
+++ b/frontend/src/pages/[hash].js
@@ -6,6 +6,8 @@ import PasteInfo from '../components/PasteInfo';
import PasswordModal from '../components/modals/PasswordModal'
import RenderDispatch from '../components/renderers/RenderDispatch'
import useFetchPaste from "../http/useFetchPaste";
+import {Watermark} from "../components/Watermark";
+import ThemeProvider from "../theme/ThemeProvider";
const ViewPaste = (props) => {
const { err, requiresAuth, validPass, getWithPassword, result } = useFetchPaste(props.hash)
@@ -58,6 +60,7 @@ const ViewPaste = (props) => {
onChange={(e) => setTheme(e.target.value)}
err={<Error ref={ErrorLabelRef} />}
/>
+ <Watermark/>
</div>
);
}